﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>新闻详情</title>
    <link rel="stylesheet" href="css/default.css" />
    <script type="text/javascript" src="js/jquery1.42.min.js"></script>
    <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.source.js"></script>
    <script type="text/javascript">
        $().ready(function () {
            var ID = getquery("ID");
            $.getJSON("/API/VIEWAPI.ashx?Action=Commanage_GETNR&r=" + Math.random(), { P1: ID }, function (resultData) {
                if (resultData.ErrorMsg == "") {
                    $("#xwnr").html("").html(resultData.Result.Details);
                    $("#title").text(resultData.Result.Title)
                    $("#ly").text(resultData.Result.Source)
                    $("#rq").text(resultData.Result.CRDate)

                }
            });
        })
        function getquery(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return null;
        }
    </script>
</head>

<body>
    <div class="cont-box">
        <div class="cont-center">
            <div class="top">
                <img src="images/top-img.png" />
            </div>
            <div class="nav">
                <ul>
                    <li>
                        <a href="index.html">网站首页</a>
                    </li>
                    <li>
                        <a href="news.html" class="active">新闻中心</a>
                    </li>
                    <li>
                        <a href="news-cgzs.html">成果展示</a>
                    </li>
                    <li>
                        <a href="news-zlzs.html">专利展示</a>
                    </li>

                </ul>
            </div>
            <!--banner-->
            <div class="mt15 banner-new">
                <img src="images/new.png" />

            </div>
            <!--新闻-->
            <div class="news overflow mt15">
                <div class="pull-left left-box">
                    <div class="sm-banner-new">
                        <img src="images/sm-news.png" />
                    </div>

                </div>
                <div class="pull-right right-box">
                    <div class="border-box">
                        <div class="border-cont">

                            <div class="news-detail">
                                <h3 class="title" id="title"></h3>
                                <p class="tc ft12 c333 mt15 mb20">发布日期： <span id="rq"></span> &nbsp; &nbsp;&nbsp;&nbsp; 信息来源： <span id="ly"></span> </p>
                                <div id="xwnr">
                                    没有新闻
                                </div>
                                <div class="tc">
                                    <!--<input type="button" value="打印"/>
                                    <input type="button" value="关闭"/>-->
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <!--底部-->
            <div class="foot mt15 ">
                <div class="foot-map ">
                    <a>首页</a>|
                    <a>新闻中心</a>|
                    <a>成果展示</a>|
                    <a>专利展示</a>|
                    <a>创新风采</a>
                </div>
                <img src="images/kx.png " style="width:inherit " class="mt10 " />
                <p class="c666 mt10 ">国家电网公司版权所有</p>
            </div>
        </div>
    </div>
</body>

</html>
